package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CheckSetmealMapper {

    void add(Setmeal setmeal);

    void insert(@Param("setmealId") Integer setmealId, @Param("checkgroupId") Integer checkgroupId);

    Page<CheckItem> selectByCondition(String queryString);

    List<Setmeal> findAll();


    Setmeal findById(Integer id);


    List<Map<String, Object>> findSetmealCount();
}
